package com.jy.adscm.operation.aftersales.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.aftersales.bean.QueryShylMaterial;
import com.jy.adscm.operation.aftersales.bean.ShylMaterial;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.operation.mscyb.bean.JqylMaterial;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 * 售后原料任务 服务类
 * </p>
 *
 * @author zyl
 * @since 2019-08-12
 */
public interface ShylMaterialService extends IService<ShylMaterial> {

    Boolean updateShylMaterialy(ShylMaterial shylMaterial, Token token);

    Page<ShylMaterial> selectShylMaterial(Page<ShylMaterial> page, QueryShylMaterial queryShylMaterial);
    ShylMaterial updateShylMaterialValue(String id, Integer value) throws AdscmSystemException;

    List<ShylMaterial> selectInStock();
}
